﻿<UserControl x:Class="Lottery.Client.SL.Controls.News"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
     xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing" mc:Ignorable="d"
    d:DesignHeight="600" d:DesignWidth="712">

    <UserControl.Resources>
        <Style x:Key="NewRegularPolygonStyle1" TargetType="ed:RegularPolygon">
            <Setter Property="Fill" Value="#7FFFFFFF"/>
            <Setter Property="Stroke" Value="#CCFFFFFF"/>
            <Setter Property="PointCount" Value="3"/>
            <Setter Property="Width" Value="6"/>
            <Setter Property="Height" Value="6"/>
            <Setter Property="RenderTransformOrigin" Value="0.5,0.5"/>
            <Setter Property="RenderTransform">
                <Setter.Value>
                    <CompositeTransform Rotation="90"/>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="NewTemplateTextStyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="#CCFFFFFF"/>
            <Setter Property="Width" Value="480"/>
            <Setter Property="Height" Value="24"/>
            <Setter Property="FontFamily" Value="Verdana"/>
            <Setter Property="FontSize" Value="12"/>
        </Style>
        <Color x:Key="NewSelectRectBackColor">#7F869593</Color>
        <Color x:Key="NoNewTemplateRectColor">#7F353839</Color>
        <Color x:Key="NoNewTemplateRectStrokeColor">#0CFFFFFF</Color>
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot">
        <Canvas x:Name="RightNewContent" Height="616" Width="712">
            <Rectangle Fill="#99414141" Height="616" RadiusY="5" RadiusX="5" Stroke="#4CFFFFFF" Width="712"/>
            <Rectangle Height="603" Canvas.Left="6" RadiusY="5" RadiusX="5" Stroke="#19FFFFFF" Canvas.Top="7" Width="700">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#99686868"/>
                        <GradientStop Color="#67232323" Offset="1"/>
                        <GradientStop Color="#8B0D0E0D" Offset="0.278"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Canvas x:Name="CvNewList" Width="690" Height="588" Canvas.Left="11" Canvas.Top="13">
                <Rectangle Height="35" Stroke="#0CFFFFFF" Width="690">
                    <Rectangle.Fill>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF4B4D4E"/>
                            <GradientStop Color="#FF2F3233" Offset="0.989"/>
                        </LinearGradientBrush>
                    </Rectangle.Fill>
                </Rectangle>
                <TextBlock Height="24" TextWrapping="Wrap" Text="官方公告" Width="70" Foreground="#CCF5FF95" FontSize="14" FontFamily="Verdana" Canvas.Left="38" Canvas.Top="8"/>
                <Ellipse Height="16" Width="16" Stroke="#CCF5FF95" StrokeThickness="2" Canvas.Left="10" Canvas.Top="8"/>
                <ed:RegularPolygon Height="5" InnerRadius="1" PointCount="3" Stretch="Fill" Stroke="#CCF5FF95" UseLayoutRounding="False" Width="5" Fill="#CCFFFFFF" RenderTransformOrigin="0.5,0.5" Canvas.Left="15.667" Canvas.Top="13.667">
                    <ed:RegularPolygon.RenderTransform>
                        <CompositeTransform Rotation="90"/>
                    </ed:RegularPolygon.RenderTransform>
                </ed:RegularPolygon>
                <StackPanel x:Name="NewSPanel" Orientation="Vertical" Canvas.Top="34" Width="690" Height="554">
                </StackPanel>
            </Canvas>
            <Canvas x:Name="CvNewsCount" Width="690" Height="588" Canvas.Left="11" Canvas.Top="13" Visibility="Collapsed">
                <Rectangle Height="35" Stroke="#0CFFFFFF" Width="690">
                    <Rectangle.Fill>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF4B4D4E"/>
                            <GradientStop Color="#FF2F3233" Offset="0.989"/>
                        </LinearGradientBrush>
                    </Rectangle.Fill>
                </Rectangle>
                <Canvas x:Name="CvComeback" Height="22" Canvas.Left="626" Canvas.Top="6" Width="56">
                    <Rectangle Height="22" Width="56" RadiusX="2" RadiusY="2" Stroke="#33FFFFFF">
                        <Rectangle.Fill>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#4C2B2B2B" Offset="0"/>
                                <GradientStop Color="#33242627" Offset="1"/>
                            </LinearGradientBrush>
                        </Rectangle.Fill>
                    </Rectangle>
                    <TextBlock Height="16" TextWrapping="Wrap" Text="返回" Width="32" Foreground="#CCECFF32" FontSize="12" FontFamily="Verdana" Canvas.Left="17" Canvas.Top="4"/>
                </Canvas>
                <TextBlock x:Name="tbNewsTitle" Height="24" TextWrapping="Wrap" Width="560" Foreground="#CCF5FF95" FontSize="13.333" FontFamily="Verdana" Canvas.Left="38" Canvas.Top="8"/>
                <ed:RegularPolygon Height="5" InnerRadius="1" PointCount="3" Stretch="Fill" Stroke="#CCF5FF95" UseLayoutRounding="False" Width="5" Fill="#CCFFFFFF" RenderTransformOrigin="0.5,0.5" Canvas.Left="15.667" Canvas.Top="13.667">
                    <ed:RegularPolygon.RenderTransform>
                        <CompositeTransform Rotation="90"/>
                    </ed:RegularPolygon.RenderTransform>
                </ed:RegularPolygon>
                <TextBlock Height="512" TextWrapping="Wrap" Width="656" Foreground="#CCEDEFD3" FontSize="12" FontFamily="Verdana" Canvas.Left="18" Canvas.Top="46" LineHeight="24" xml:space="preserve"><Run x:Name="rnNewsCount" /></TextBlock>
            </Canvas>
        </Canvas>
    </Grid>
</UserControl>
